package com.rw.mapper;

import com.rw.pojo.Student;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author rabit
 */
public interface StudentMapper {

        List<Student> select(Student student);

        List<Student> select2(@Param("id") Integer cid);

        List<Student> select3(@Param("classid") Integer classid);

        @Select("select * from student where id=#{id} ")
        Student selectById(@Param("id")Integer id);

}
